<!---手动点击落地页--->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
    <link rel="shortcut icon" href="https://oe.jingcaiplus.com/admin/favicon.ico">
    <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
    <link rel="shortcut icon" href="https://oe.jingcaiplus.com/admin/favicon.ico">
    <title style="text-align: center;">立即购买</title>
    <script>
        (function (doc, win) {
            var htmlFont = function () {
                var maxWidth = 500;
                var docEl = doc.documentElement,
                    l = docEl.clientWidth > maxWidth ? maxWidth : docEl.clientWidth,
                    f;
                f = l / 375 * 37.5;
                docEl.style.fontSize = f + "px"
            };
            htmlFont();
            win.addEventListener("resize", htmlFont, false)
        })(document, window);
    </script>
    <style>
        body {
            margin: 0;
        }

        .wh {
            width: 100%;
            height: 100%;
        }

        .center {
            display: flex;
            flex-direction: column;
            justify-items: center;
            align-items: center;
            position: relative;
        }

        .bottom_com {
            font-size: 14px;
            color: #888;
            height: 40px;
            line-height: 40px;
        }

        .bottom_btn {
            position: fixed;
            bottom: 80px;
            width: 100%;
        }
    </style>
</head>

<body>
    <div class="center">
        <img class="wh"
            src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fnimg.ws.126.net%2F%3Furl%3Dhttp%253A%252F%252Fdingyue.ws.126.net%252F2022%252F0213%252F5f6faf2cj00r78hej024sc000u004nfg.jpg%26thumbnail%3D650x2147483647%26quality%3D80%26type%3Djpg&refer=http%3A%2F%2Fnimg.ws.126.net&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1669797629&t=df68fcc4e3f604702b6fb40116356377"
            alt="" srcset="">
        <div class="bottom_com">杭州博采网络科技股份</div>
        <div class="bottom_btn" onclick="openApp()">
            <img class="wh" src="https://images.jingcaiplus.com/2022/10/27/c719696e-8ce4-4cc0-9b2b-260f16d02420.gif"
                alt="" srcset="">
        </div>
    </div>


    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.1/jquery.js"></script>
    <script>
        const baseUrl = 'https://api.ontheway168.cn';
        const jump_desc = "ITEM_URL";
        const query = window.location.search.substring(1);
        let loading = false;
        // const REDIRECT_URI = encodeURIComponent("https://work.weixin.qq.com/kfid/kfc83e46171a379c720");
        const REDIRECT_URI = encodeURIComponent("https://page.jingcaiplus.com/qw/index.html");
        const CorpID = "ww9f5be27cf4ce26ea";
        const STATE = "123456789";
        const AgentId = "1000019";

        function openApp() {
            // var urlStr = "https://open.weixin.qq.com/connect/oauth2/authorize?appid="+CorpID+"&redirect_uri="+REDIRECT_URI+"&response_type=code&scope=snsapi_base&state="+STATE+"&agentid="+AgentId+"#wechat_redirect";
            window.location.href = "https://work.weixin.qq.com/kfid/kfc83e46171a379c720?debug=1";
            // getUrlScheme();
        };

        window.onhashchange = function(){
            var currentUrl = window.location.href;
            window.alert(currentUrl);
        }

        // function getUrlScheme() { //获取服务端返回的小程序scheme
        //     loading = true;
        //     var url = baseUrl + '/api/index.php/v1/common/wxaScheme?' + query; //服务端地址
        //     $.ajax({
        //         url: url,
        //         type: "get",
        //         dataType: "jsonp", //josnp解决跨域问题
        //         success: function (response) {

        //             if (response.returnCode == 200) {
        //                 console.log('获取返回的结果', response.data);
        //                 loading = false;
        //                 window.location.href = response.data.openlink;
        //                 return;
        //             }
        //             loading = false;
        //         }
        //     });
        // }
    </script>

</body>

</html>